ExamPlay Light Logo
Se connecter

Computer Science for IGCSE & O level - Programming (Section 10 - No. 39)

What is the purpose of a 'FOR' loop when populating arrays?
To read from a file.
To write data to a file.
To iterate through the elements of the array and assign values.
To close the array.

Explication

A 'FOR' loop facilitates processing of each array element based on a predefined or calculated value.

Commentaires (0)

Connectez-vous pour commenter
Publicité
BrainBehindX Inc Logo
©2026; Alimenté par BrainBehindX Inc